projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44bcd37
)
(try_window_id) <all changes above window start>:
author
Gerd Moellmann
<gerd@gnu.org>
Mon, 11 Dec 2000 14:36:45 +0000
(14:36 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Mon, 11 Dec 2000 14:36:45 +0000
(14:36 +0000)
Set the cursor.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 2260c24059d24d0e81792f643ca2d4d96cacf16d..444c7696f6886c623b03c31e53414770c1614997 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-10798,6
+10798,11
@@
try_window_id (w)
= Z_BYTE - MATRIX_ROW_END_BYTEPOS (row);
#endif
+ row = row_containing_pos (w, PT, r0, NULL);
+ if (row == NULL)
+ return 0;
+
+ set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0);
return 1;
}